package com.nanhai.buddhist.college.module.collegebase.convert.accommodationreside;

import java.util.*;

import com.nanhai.buddhist.college.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.nanhai.buddhist.college.module.collegebase.controller.admin.accommodationreside.vo.*;
import com.nanhai.buddhist.college.module.collegebase.dal.dataobject.accommodationreside.AccommodationResideDO;

/**
 * 入住记录 Convert
 *
 * @author 南海佛学院
 */
@Mapper
public interface AccommodationResideConvert {

    AccommodationResideConvert INSTANCE = Mappers.getMapper(AccommodationResideConvert.class);

    AccommodationResideDO convert(AccommodationResideCreateReqVO bean);

    AccommodationResideDO convert(AccommodationResideUpdateReqVO bean);

    AccommodationResideRespVO convert(AccommodationResideDO bean);

    List<AccommodationResideRespVO> convertList(List<AccommodationResideDO> list);

    PageResult<AccommodationResideRespVO> convertPage(PageResult<AccommodationResideDO> page);

    List<AccommodationResideExcelVO> convertList02(List<AccommodationResideDO> list);

}
